<?php
	$tool_buttons = array
	(
		'list_button' => array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_LIST, 
			'url'=>'/'.$this->name.'/index/'
		),
	);
	$this->helpers->html->form('/'.$this->name.'/edit/'.$this->data[$this->name][id]);
	$this->helpers->htmlx->MenuText1(LANG_SYSTEM_SETTINGS.': '.LANG_EDIT, "edit.gif");
	$this->helpers->toolbars->Toolbar($tool_buttons);
	echo "<table class='eva'>";
		 $this->helpers->htmlx->hidden('id', $this->data[$this->name][id]);	
		 $this->helpers->htmlx->inputTextRow(LANG_TITLE, 'name', $this->data[$this->name][name], 'readonly="readonly"');
		 $this->helpers->htmlx->inputTextRow(LANG_VALUE, 'value', $this->data[$this->name][value], '');
		 $this->helpers->htmlx->textareaRow(LANG_DESCRIPTION, 'description', $this->data[$this->name][description]);
	echo "</table>";
	$this->helpers->htmlx->submitTable('submit', $this->name);
	echo "</form>";
?>